package com.ogawa.joypal.user.bean;

public class UserloginBean {
    /**
     * user : {"id":900,"userName":"15359349628","mobile":"15359349628","email":null,"platform":"healthPlatform"}
     * token : d6f7efb62da54054aeecb96adcaf450e
     * loginType : quickLogin
     * firstLogin : false
     * userInfo : null
     * region : null
     */

    private UserBean user;
    private String token;//登录token
    private String loginType;
    private boolean firstLogin;//是否第一次登录
    private Object userInfo;
    private Object region;

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public boolean isFirstLogin() {
        return firstLogin;
    }

    public void setFirstLogin(boolean firstLogin) {
        this.firstLogin = firstLogin;
    }

    public Object getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(Object userInfo) {
        this.userInfo = userInfo;
    }

    public Object getRegion() {
        return region;
    }

    public void setRegion(Object region) {
        this.region = region;
    }

    public static class UserBean {
        /**
         * id : 900
         * userName : 15359349628
         * mobile : 15359349628
         * email : null
         * platform : healthPlatform
         */

        private int id;//id
        private String userName;//用户名
        private String mobile;//手机
        private Object email;//email
        private String platform;//用户来源

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public Object getEmail() {
            return email;
        }

        public void setEmail(Object email) {
            this.email = email;
        }

        public String getPlatform() {
            return platform;
        }

        public void setPlatform(String platform) {
            this.platform = platform;
        }
    }
}
